home *** CD-ROM | disk | FTP | other *** search
/ Planet Source Code Jumbo …e CD Visual Basic 1 to 7 / 4_2005-2006.ISO / data / Zips / Intelligen196974232006.psc / IHMS_Test1 / Copy of IHMS_ExistingPatient.frm < prev    next >
Text File  |  2005-12-18  |  15KB  |  443 lines

  1. VERSION 5.00
  2. Begin VB.Form frmOldPatient 
  3.    BorderStyle     =   1  'Fixed Single
  4.    Caption         =   "View Existing Patient"
  5.    ClientHeight    =   5355
  6.    ClientLeft      =   45
  7.    ClientTop       =   330
  8.    ClientWidth     =   10935
  9.    Icon            =   "IHMS_ExistingPatient.frx":0000
  10.    LinkTopic       =   "Form1"
  11.    MaxButton       =   0   'False
  12.    MDIChild        =   -1  'True
  13.    MinButton       =   0   'False
  14.    ScaleHeight     =   5355
  15.    ScaleWidth      =   10935
  16.    Begin VB.Data datPerInfo 
  17.       Caption         =   "Personal Info"
  18.       Connect         =   "Access"
  19.       DatabaseName    =   ""
  20.       DefaultCursorType=   0  'DefaultCursor
  21.       DefaultType     =   2  'UseODBC
  22.       Exclusive       =   0   'False
  23.       Height          =   345
  24.       Left            =   2400
  25.       Options         =   0
  26.       ReadOnly        =   0   'False
  27.       RecordsetType   =   1  'Dynaset
  28.       RecordSource    =   ""
  29.       Top             =   5040
  30.       Visible         =   0   'False
  31.       Width           =   2340
  32.    End
  33.    Begin VB.Data datLabInfo 
  34.       Caption         =   "Lab Info"
  35.       Connect         =   "Access"
  36.       DatabaseName    =   ""
  37.       DefaultCursorType=   0  'DefaultCursor
  38.       DefaultType     =   2  'UseODBC
  39.       Exclusive       =   0   'False
  40.       Height          =   345
  41.       Left            =   4800
  42.       Options         =   0
  43.       ReadOnly        =   0   'False
  44.       RecordsetType   =   1  'Dynaset
  45.       RecordSource    =   ""
  46.       Top             =   5040
  47.       Visible         =   0   'False
  48.       Width           =   2580
  49.    End
  50.    Begin VB.CommandButton cmdCloseFile 
  51.       Caption         =   "&Close (Unload) Patient File"
  52.       BeginProperty Font 
  53.          Name            =   "MS Sans Serif"
  54.          Size            =   8.25
  55.          Charset         =   0
  56.          Weight          =   700
  57.          Underline       =   0   'False
  58.          Italic          =   0   'False
  59.          Strikethrough   =   0   'False
  60.       EndProperty
  61.       Height          =   495
  62.       Left            =   240
  63.       TabIndex        =   30
  64.       Top             =   4560
  65.       Width           =   10215
  66.    End
  67.    Begin VB.CommandButton cmdViewContact 
  68.       Caption         =   "&Shred Patient's File from Database"
  69.       BeginProperty Font 
  70.          Name            =   "MS Sans Serif"
  71.          Size            =   8.25
  72.          Charset         =   0
  73.          Weight          =   700
  74.          Underline       =   0   'False
  75.          Italic          =   0   'False
  76.          Strikethrough   =   0   'False
  77.       EndProperty
  78.       Height          =   495
  79.       Left            =   5640
  80.       TabIndex        =   29
  81.       Top             =   3960
  82.       Width           =   4815
  83.    End
  84.    Begin VB.CommandButton cmdDiagnose 
  85.       Caption         =   "&Diagnose Patient's Illness"
  86.       BeginProperty Font 
  87.          Name            =   "MS Sans Serif"
  88.          Size            =   8.25
  89.          Charset         =   0
  90.          Weight          =   700
  91.          Underline       =   0   'False
  92.          Italic          =   0   'False
  93.          Strikethrough   =   0   'False
  94.       EndProperty
  95.       Height          =   495
  96.       Left            =   5640
  97.       TabIndex        =   27
  98.       Top             =   3480
  99.       Width           =   4815
  100.    End
  101.    Begin VB.CommandButton cmdDischarge 
  102.       Caption         =   "Dis&charge Patient"
  103.       BeginProperty Font 
  104.          Name            =   "MS Sans Serif"
  105.          Size            =   8.25
  106.          Charset         =   0
  107.          Weight          =   700
  108.          Underline       =   0   'False
  109.          Italic          =   0   'False
  110.          Strikethrough   =   0   'False
  111.       EndProperty
  112.       Height          =   495
  113.       Left            =   240
  114.       TabIndex        =   28
  115.       Top             =   3960
  116.       Width           =   4815
  117.    End
  118.    Begin VB.CommandButton cmdAdmit 
  119.       Caption         =   "&Admit Patient into care"
  120.       BeginProperty Font 
  121.          Name            =   "MS Sans Serif"
  122.          Size            =   8.25
  123.          Charset         =   0
  124.          Weight          =   700
  125.          Underline       =   0   'False
  126.          Italic          =   0   'False
  127.          Strikethrough   =   0   'False
  128.       EndProperty
  129.       Height          =   495
  130.       Left            =   240
  131.       TabIndex        =   26
  132.       Top             =   3480
  133.       Width           =   4815
  134.    End
  135.    Begin VB.Frame fraLabInfo 
  136.       Caption         =   "&Laboratory Information"
  137.       Enabled         =   0   'False
  138.       BeginProperty Font 
  139.          Name            =   "MS Sans Serif"
  140.          Size            =   8.25
  141.          Charset         =   0
  142.          Weight          =   700
  143.          Underline       =   0   'False
  144.          Italic          =   0   'False
  145.          Strikethrough   =   0   'False
  146.       EndProperty
  147.       Height          =   2175
  148.       Left            =   6840
  149.       TabIndex        =   17
  150.       Top             =   1080
  151.       Width           =   3615
  152.       Begin VB.TextBox txtAllergy 
  153.          BackColor       =   &H80000000&
  154.          Height          =   285
  155.          Left            =   1680
  156.          TabIndex        =   23
  157.          ToolTipText     =   "DD/MM/YYYY"
  158.          Top             =   1320
  159.          Width           =   1695
  160.       End
  161.       Begin VB.TextBox txtBloodGroup 
  162.          BackColor       =   &H80000000&
  163.          Height          =   285
  164.          Left            =   1680
  165.          TabIndex        =   21
  166.          Top             =   960
  167.          Width           =   1695
  168.       End
  169.       Begin VB.TextBox txtLabRefNo 
  170.          BackColor       =   &H80000000&
  171.          Height          =   285
  172.          Left            =   1680
  173.          TabIndex        =   19
  174.          Top             =   600
  175.          Width           =   1695
  176.       End
  177.       Begin VB.TextBox txtGenotype 
  178.          BackColor       =   &H80000000&
  179.          Height          =   285
  180.          Left            =   1680
  181.          TabIndex        =   25
  182.          Top             =   1680
  183.          Width           =   1695
  184.       End
  185.       Begin VB.Label lblLabAllergy 
  186.          Alignment       =   1  'Right Justify
  187.          Caption         =   "Allergy:"
  188.          Height          =   255
  189.          Left            =   480
  190.          TabIndex        =   22
  191.          ToolTipText     =   "DD/MM/YYYY"
  192.          Top             =   1320
  193.          Width           =   1095
  194.       End
  195.       Begin VB.Label lblLabBloodGroup 
  196.          Alignment       =   1  'Right Justify
  197.          Caption         =   "Blood Group:"
  198.          Height          =   255
  199.          Left            =   240
  200.          TabIndex        =   20
  201.          Top             =   960
  202.          Width           =   1335
  203.       End
  204.       Begin VB.Label lblLabRefNo 
  205.          Alignment       =   1  'Right Justify
  206.          Caption         =   "Lab. Ref. Number:"
  207.          Height          =   255
  208.          Left            =   240
  209.          TabIndex        =   18
  210.          Top             =   600
  211.          Width           =   1335
  212.       End
  213.       Begin VB.Label lblLabGenotype 
  214.          Alignment       =   1  'Right Justify
  215.          Caption         =   "Genotype:"
  216.          Height          =   255
  217.          Left            =   480
  218.          TabIndex        =   24
  219.          Top             =   1680
  220.          Width           =   1095
  221.       End
  222.    End
  223.    Begin VB.TextBox txtHospNo 
  224.       BackColor       =   &H80000000&
  225.       Enabled         =   0   'False
  226.       Height          =   285
  227.       Left            =   2040
  228.       Locked          =   -1  'True
  229.       TabIndex        =   1
  230.       TabStop         =   0   'False
  231.       Top             =   720
  232.       Width           =   1695
  233.    End
  234.    Begin VB.Frame fraPersonal 
  235.       Caption         =   "&Personal Information"
  236.       Enabled         =   0   'False
  237.       BeginProperty Font 
  238.          Name            =   "MS Sans Serif"
  239.          Size            =   8.25
  240.          Charset         =   0
  241.          Weight          =   700
  242.          Underline       =   0   'False
  243.          Italic          =   0   'False
  244.          Strikethrough   =   0   'False
  245.       EndProperty
  246.       Height          =   2175
  247.       Left            =   240
  248.       TabIndex        =   2
  249.       Top             =   1080
  250.       Width           =   6495
  251.       Begin VB.TextBox txtSex 
  252.          BackColor       =   &H80000000&
  253.          DataField       =   "First_Name"
  254.          DataSource      =   "datPerInfo"
  255.          Height          =   285
  256.          Left            =   4560
  257.          TabIndex        =   10
  258.          Top             =   600
  259.          Width           =   1695
  260.       End
  261.       Begin VB.TextBox txtStateOfOrigin 
  262.          BackColor       =   &H80000000&
  263.          DataSource      =   "datPerInfo"
  264.          Height          =   285
  265.          Left            =   4560
  266.          TabIndex        =   14
  267.          Top             =   960
  268.          Width           =   1695
  269.       End
  270.       Begin VB.TextBox txtHomeAdd 
  271.          BackColor       =   &H80000000&
  272.          DataSource      =   "datContactInfo"
  273.          Height          =   765
  274.          Left            =   240
  275.          MultiLine       =   -1  'True
  276.          ScrollBars      =   2  'Vertical
  277.          TabIndex        =   12
  278.          Top             =   1200
  279.          Width           =   3015
  280.       End
  281.       Begin VB.TextBox txtSName 
  282.          BackColor       =   &H80000000&
  283.          DataField       =   "Surname"
  284.          DataSource      =   "datPerInfo"
  285.          Height          =   285
  286.          Left            =   1560
  287.          TabIndex        =   4
  288.          Top             =   240
  289.          Width           =   1695
  290.       End
  291.       Begin VB.TextBox txtFName 
  292.          BackColor       =   &H80000000&
  293.          DataField       =   "First_Name"
  294.          DataSource      =   "datPerInfo"
  295.          Height          =   285
  296.          Left            =   4560
  297.          TabIndex        =   6
  298.          Top             =   240
  299.          Width           =   1695
  300.       End
  301.       Begin VB.TextBox txtDOB 
  302.          BackColor       =   &H80000000&
  303.          DataField       =   "Date_of_Birth"
  304.          DataSource      =   "datPerInfo"
  305.          Height          =   285
  306.          Left            =   1560
  307.          TabIndex        =   8
  308.          ToolTipText     =   "DD/MM/YYYY"
  309.          Top             =   600
  310.          Width           =   1695
  311.       End
  312.       Begin VB.TextBox txtOccupation 
  313.          BackColor       =   &H80000000&
  314.          DataSource      =   "datPerInfo"
  315.          Height          =   285
  316.          Left            =   4560
  317.          TabIndex        =   16
  318.          Top             =   1320
  319.          Width           =   1695
  320.       End
  321.       Begin VB.Label Label19 
  322.          Alignment       =   1  'Right Justify
  323.          Caption         =   "State Of Origin:"
  324.          Height          =   255
  325.          Left            =   3360
  326.          TabIndex        =   13
  327.          Top             =   960
  328.          Width           =   1095
  329.       End
  330.       Begin VB.Label lblHomeAdd 
  331.          Caption         =   "Address:"
  332.          Height          =   255
  333.          Left            =   240
  334.          TabIndex        =   11
  335.          Top             =   960
  336.          Width           =   1335
  337.       End
  338.       Begin VB.Label lblSName 
  339.          Alignment       =   1  'Right Justify
  340.          Caption         =   "Surname:"
  341.          Height          =   255
  342.          Left            =   120
  343.          TabIndex        =   3
  344.          Top             =   240
  345.          Width           =   1335
  346.       End
  347.       Begin VB.Label lblFName 
  348.          Alignment       =   1  'Right Justify
  349.          Caption         =   "First Name:"
  350.          Height          =   255
  351.          Left            =   3360
  352.          TabIndex        =   5
  353.          Top             =   240
  354.          Width           =   1095
  355.       End
  356.       Begin VB.Label Label1 
  357.          Alignment       =   1  'Right Justify
  358.          Caption         =   "Date Of Birth:"
  359.          Height          =   255
  360.          Left            =   360
  361.          TabIndex        =   7
  362.          ToolTipText     =   "DD/MM/YYYY"
  363.          Top             =   600
  364.          Width           =   1095
  365.       End
  366.       Begin VB.Label Label2 
  367.          Alignment       =   1  'Right Justify
  368.          Caption         =   "Sex:"
  369.          Height          =   255
  370.          Left            =   4080
  371.          TabIndex        =   9
  372.          Top             =   600
  373.          Width           =   375
  374.       End
  375.       Begin VB.Label Label5 
  376.          Alignment       =   1  'Right Justify
  377.          Caption         =   "Occupation:"
  378.          Height          =   255
  379.          Left            =   3360
  380.          TabIndex        =   15
  381.          Top             =   1320
  382.          Width           =   1095
  383.       End
  384.    End
  385.    Begin VB.Label Label7 
  386.       Alignment       =   2  'Center
  387.       Caption         =   "Patient# "
  388.       BeginProperty Font 
  389.          Name            =   "Courier New"
  390.          Size            =   18
  391.          Charset         =   0
  392.          Weight          =   700
  393.          Underline       =   0   'False
  394.          Italic          =   0   'False
  395.          Strikethrough   =   0   'False
  396.       EndProperty
  397.       ForeColor       =   &H00C00000&
  398.       Height          =   495
  399.       Left            =   3000
  400.       TabIndex        =   31
  401.       Top             =   120
  402.       Width           =   5175
  403.    End
  404.    Begin VB.Label lblHospNo 
  405.       Caption         =   "&Hospital Number:"
  406.       BeginProperty Font 
  407.          Name            =   "MS Sans Serif"
  408.          Size            =   8.25
  409.          Charset         =   0
  410.          Weight          =   700
  411.          Underline       =   0   'False
  412.          Italic          =   0   'False
  413.          Strikethrough   =   0   'False
  414.       EndProperty
  415.       Height          =   255
  416.       Left            =   360
  417.       TabIndex        =   0
  418.       Top             =   720
  419.       Width           =   1575
  420.    End
  421. End
  422. Attribute VB_Name = "frmOldPatient"
  423. Attribute VB_GlobalNameSpace = False
  424. Attribute VB_Creatable = False
  425. Attribute VB_PredeclaredId = True
  426. Attribute VB_Exposed = False
  427. Option Explicit
  428.  
  429. Private Sub cmdAdmit_Click()
  430.  'MsgBox "THE PATIENT INFORMATION IN THE FORM IS CHECKED FOR ERRORS, AND THE USER IS NOTIFIED OF ANY ERRORS FOUND, LIKE OMMISION OF REQUIRED DATA OR WRONGLY ENTERED DATA. IF NO ERRORS ARE FOUND, THE PATIENT INFO IS WRITTEN TO THE DB AND A PATIENT ADMISSION FORM IS LOADED TO COMMENCE THE ADMISSION PROCESS."
  431.  frmAdmission.Show 1
  432. End Sub
  433.  
  434. Private Sub cmdCloseFile_Click()
  435.  If MsgBox("Unload and close patient file?", vbYesNo + vbQuestion) = vbYes Then Unload Me
  436. End Sub
  437.  
  438. Private Sub cmdDischarge_Click()
  439.  frmDischarge.Show 1
  440.  
  441. End Sub
  442.  
  443.